package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.HotelDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotelDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HotelDetail record);

    HotelDetail selectByPrimaryKey(Long id);

    List<HotelDetail> selectForList(QueryObject qo);

    List<HotelDetail> selectHotelDetialByHotelId(@Param("hotelId") Long hotelId);

    int updateByPrimaryKey(HotelDetail record);

}